﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace ESpace_Project
{
    static class Program
    {
        enum DefaultForm { Main, Stream, Bmp, EMath, EMathF, BinRW, Compress, DBItem, Hist, Labirynth, SortList, UnionCrossRange, EditValue }
        
        //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        static DefaultForm DefForm = DefaultForm.EditValue;
        //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            switch (DefForm)
            {
                case DefaultForm.Stream: Application.Run(new FormStream()); break;
                case DefaultForm.Bmp: Application.Run(new FormBmp()); break;
                case DefaultForm.EMath: Application.Run(new FormEMath()); break;
                case DefaultForm.EMathF: Application.Run(new FormEMathF()); break;
                case DefaultForm.BinRW: Application.Run(new FormBinRW()); break;
                case DefaultForm.Compress: Application.Run(new FormCompress()); break;
                case DefaultForm.DBItem: Application.Run(new FormDBItem()); break;
                case DefaultForm.Hist: Application.Run(new FormHist()); break;
                case DefaultForm.Labirynth: Application.Run(new FormLabirynth()); break;
                case DefaultForm.SortList: Application.Run(new FormSortList()); break;
                case DefaultForm.UnionCrossRange: Application.Run(new FormUnionCrossRange()); break;
                case DefaultForm.EditValue: Application.Run(new FormEditValueTest()); break;

                default: Application.Run(new FormMain()); break;
            }

        }
    }
}
